How to: Create a macro using the Visual Basic language.

Solution:


Insert a module macro sheet. Start the macro with 'SUB' followed by the macro name, type the appropriate Visual Basic code, and end the macro with 'END SUB'.